potential energy of a system of charges